package com.huatai.exchange.dal.dao;

import com.faneui.common.exception.BusinessException;
import com.huatai.exchange.dal.model.ExcFileLoadRecord;

import java.util.List;

public interface ExcFileLoadRecordDAO {

    ExcFileLoadRecord queryById(String id) throws Exception;


    List<ExcFileLoadRecord> queryByModel(ExcFileLoadRecord excFileLoadRecord) throws Exception;

    //
    void insert(ExcFileLoadRecord excFileLoadRecord) throws Exception;

    //
    Long updateById(ExcFileLoadRecord excFileLoadRecord) throws Exception;

    Long deleteById(String id) throws Exception ;

    /**
     *  更新查询使用次数
     * @param id
     * @return
     * @throws BusinessException
     */
    Long updateRequestTimes(String id)throws Exception ;
}
